import random

sui = []
for i in range(10):
    s = random.randint(0,10)
    sui.append(s)

d = {}
for i in sui:
    if i in d:
        d[i] += 1
    else:
        d[i] = 1    

print(d)